package com.platform.service;

import com.platform.dao.ApiFollowMapper;
import com.platform.entity.ApiFollowVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 我的关注Service接口
 *
 * @author zhurusen
 * @email 524227263@qq.com
 * @date 2018-05-15 15:50:14
 */
@Service
public class ApiFollowService {
    @Autowired
    private ApiFollowMapper apiFollowMapper;

    public List<ApiFollowVo> queryList(Map<String, Object> params) {
        return apiFollowMapper.queryList(params);
    }

    public void del(Long id) {
        apiFollowMapper.delete(id);
    }

    public Integer queryTotal(Map<String, Object> params) {
        return apiFollowMapper.queryTotal(params);
    }

    public void save(ApiFollowVo info) {
        apiFollowMapper.save(info);
    }
}
